import request from '@/utils/request'

// 算法列表
export function algorithmList(data) {
  return request({
    url: '/algorithms/list',
    method: 'get',
    params: data,
  })
}

// 架构列表
export function frameworkList(data) {
  return request({
    url: '/generator/architect/list',
    method: 'get',
    params: data,
  })
}

// 运行结果
export function result(data) {
  return request({
    url: '/generator/algoanalysis/analyze',
    method: 'get',
    params: data,
  })
}


// 上传算法
export function upLoadAlgo(data) {
  return request({
    url: '/generator/privatealgo/save',
    method: 'post',
    data: data,
  })
}